package com.briup.ptp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 
 * @TableName pig
 */
@TableName(value ="pig")
@Data
@Accessors(chain = true)
public class Pig implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 生猪的性别
     */
    private String gender;

    /**
     * 生猪的二维码
     */
    private String qrCode;

    /**
     * 生猪的种类
     */
    private String species;

    /**
     * 生猪的身长
     */
    private Double height;

    /**
     * 生猪的体重
     */
    private Double weight;

    /**
     * 生猪的图片
     */
    private String picture;

    /**
     * 
     */
    private Integer houseId;

    /**
     * 生猪的疫苗接种情况
     */
    private String vaccination;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}